/**
 * 
 */
package com.model.menu;
 
/**
 * <p>Title: </p>
 *
 * <p>Description: </p>
 *
 * <p>Copyright: Copyright (c) 2008</p>
 *
 * <p>Company: </p>
 *
 * @author Leo
 * @version 1.0
 * @hibernate.class table="t_menu"
 */

public class Menu {
	/**
     * @hibernate.id
     * generator-class="native"
     */
    private Integer id;
    /**
     * @hibernate.property
     */
    private String parentid;
    /**
     * @hibernate.property
     */
    private String caidanname;
    /**
     * @hibernate.property
     */
    private String url;
    /**
     * @hibernate.property
     */
    private String onimage;
    /**
     * @hibernate.property
     */
    private String offimage;
    /**
     * @hibernate.property
     */
    private Integer xuhao;
    /**
     * @hibernate.property
     */
    private String remark;

    public Menu() {
    }

    public Integer getId() {
        return id;
    }

    public String getCaidanname() {
        return caidanname;
    }

    public String getOnimage() {
        return onimage;
    }

    public String getParentid() {
        return parentid;
    }

    public String getRemark() {
        return remark;
    }

    public String getUrl() {
        return url;
    }

    public Integer getXuhao() {
        return xuhao;
    }

    public String getOffimage() {
        return offimage;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public void setCaidanname(String caidanname) {
        this.caidanname = caidanname;
    }

    public void setOffimage(String offimage) {
        this.offimage = offimage;
    }

    public void setOnimage(String onimage) {
        this.onimage = onimage;
    }

    public void setParentid(String parentid) {
        this.parentid = parentid;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public void setUrl(String url) {
        this.url = url;
    }

    public void setXuhao(int xuhao) {
        this.xuhao = xuhao;
    }

    public String toString() {
        return ",id="+id+",parentid="+parentid+",caidanname="+caidanname+",url="+url+",onimage="+onimage+",offimage="+offimage+",xuhao="+xuhao+",remark="+remark;
    }
}
